#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "qdebug.h"
#include "CGAL/Simple_cartesian.h"
#include "qmessagebox.h"

typedef CGAL::Simple_cartesian<double> Kernel;
typedef Kernel::Point_2 Point_2;
typedef Kernel::Segment_2 Segment_2;

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    pGlWindow = new MyGlWindow();
    setCentralWidget(pGlWindow);
}

MainWindow::~MainWindow()
{
    delete ui;
    delete pGlWindow;
}

void MainWindow::aboutQt()
{
    QMessageBox::aboutQt(this);
}
